LGF_MergeBitsToDWord (FC / V3.0.1)
Author: Siemens Digital Industry
Short description
This function merge 32 Bits / 32 Boolean variables into one DWord variable.
Block Interface
| | LGF_MergeBitsToDWord (FC) | |
| Bool | | | bit31 | | Ret_Val | | | DWord |
| | | | |
| Bool | | | bit30 | | | | | |
| | | | |
| Bool | | | bit29 | | | | | |
| | | | |
| Bool | | | bit28 | | | | | |
| | | | |
| Bool | | | bit27 | | | | | |
| | | | |
| Bool | | | bit26 | | | | | |
| | | | |
| Bool | | | bit25 | | | | | |
| | | | |
| Bool | | | bit24 | | | | | |
| | | | |
| Bool | | | bit23 | | | | | |
| | | | |
| Bool | | | bit22 | | | | | |
| | | | |
| Bool | | | bit21 | | | | | |
| | | | |
| Bool | | | bit20 | | | | | |
| | | | |
| Bool | | | bit19 | | | | | |
| | | | |
| Bool | | | bit18 | | | | | |
| | | | |
| Bool | | | bit17 | | | | | |
| | | | |
| Bool | | | bit16 | | | | | |
| | | | |
| Bool | | | bit15 | | | | | |
| | | | |
| Bool | | | bit14 | | | | | |
| | | | |
| Bool | | | bit13 | | | | | |
| | | | |
| Bool | | | bit12 | | | | | |
| | | | |
| Bool | | | bit11 | | | | | |
| | | | |
| Bool | | | bit10 | | | | | |
| | | | |
| Bool | | | bit9 | | | | | |
| | | | |
| Bool | | | bit8 | | | | | |
| | | | |
| Bool | | | bit7 | | | | | |
| | | | |
| Bool | | | bit6 | | | | | |
| | | | |
| Bool | | | bit5 | | | | | |
| | | | |
| Bool | | | bit4 | | | | | |
| | | | |
| Bool | | | bit3 | | | | | |
| | | | |
| Bool | | | bit2 | | | | | |
| | | | |
| Bool | | | bit1 | | | | | |
| | | | |
| Bool | | | bit0 | | | | | |
| | | | |
| | | |
Input parameter
| Identifier | Data type | Description |
| bit31 | Bool | Input Bit 31 - MSB |
| bit30 | Bool | Input Bit 30 |
| bit29 | Bool | Input Bit 29 |
| bit28 | Bool | Input Bit 28 |
| bit27 | Bool | Input Bit 27 |
| bit26 | Bool | Input Bit 26 |
| bit25 | Bool | Input Bit 25 |
| bit24 | Bool | Input Bit 24 |
| bit23 | Bool | Input Bit 23 |
| bit22 | Bool | Input Bit 22 |
| bit21 | Bool | Input Bit 21 |
| bit20 | Bool | Input Bit 20 |
| bit19 | Bool | Input Bit 19 |
| bit18 | Bool | Input Bit 18 |
| bit17 | Bool | Input Bit 17 |
| bit16 | Bool | Input Bit 16 |
| bit15 | Bool | Input Bit 15 |
| bit14 | Bool | Input Bit 14 |
| bit13 | Bool | Input Bit 13 |
| bit12 | Bool | Input Bit 12 |
| bit11 | Bool | Input Bit 11 |
| bit10 | Bool | Input Bit 10 |
| bit9 | Bool | Input Bit 9 |
| bit8 | Bool | Input Bit 8 |
| bit7 | Bool | Input Bit 7 |
| bit6 | Bool | Input Bit 6 |
| bit5 | Bool | Input Bit 5 |
| bit4 | Bool | Input Bit 4 |
| bit3 | Bool | Input Bit 3 |
| bit2 | Bool | Input Bit 2 |
| bit1 | Bool | Input Bit 1 |
| bit0 | Bool | Input Bit 0 - LSB |
Output parameter
| Identifier | Data type | Description |
| Ret_Val | DWord | Composite Bit sequence stored as DWord variable |
Change log
| Version & Date | Change description |
| 01.00.00 | Simatic Systems Support |
| 20.06.2019 | First release |
| 03.00.00 | Simatic Systems Support |
| 23.04.2020 | Set version to V3.0.0 harmonize the version of the whole library |
| 03.00.01 | Simatic Systems Support |
| 22.02.2021 | Insert documentation |